package com.sheepone.distributor.test;

import com.sheepone.distributor.Distributor;
import com.sheepone.distributor.event.EventContext;
import com.sheepone.distributor.listener.DistributorAwareListener;

/**
 * @author Miss.杨
 * @description
 * @since 2024/2/16 - 11:12
 */
public class DistributorHolder {
    private  static Distributor distributor;
    public static void setDistributor(Distributor distributor) {
        DistributorHolder.distributor = distributor;
    }

    public static Distributor getDistributor() {
        return distributor;
    }
}
